package com.sun.emo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 十三
 * @create 2022-10-13 14:58
 */
@Slf4j
@ServletComponentScan
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching //开启Spring Cache注解方式的缓存功能
public class EmoApplication {

    public static void main(String[] args) {
        SpringApplication.run(EmoApplication.class,args);
        log.info("项目启动成功....");
    }

}
